package com.woniuxy.shop.Mapper;

import com.hc.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName goodsMapper
 * @Description
 * @Author TJ
 * @Date 2022/10/20 10:17
 * @Version 1.0
 **/
@Mapper
public interface goodsMapper {
    //根据商品id查询商品信息
    @Select("select * from hc_goods where id=#{id}")
    Goods getByGoodsID(int id);
}
